package com.bwie.system.service.impl;

import com.bwie.common.domain.GoodsType;
import com.bwie.common.domain.Huo;
import com.bwie.common.domain.Type;
import com.bwie.system.mapper.TypeMappers;
import com.bwie.system.service.XiaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class XiaServiceImpl implements XiaService {

    @Autowired
    TypeMappers typeMappers;
    @Override
    public List<Type> type() {
       List<Type> typeList= typeMappers.type();
       return  typeList;
    }

    @Override
    public List<GoodsType> goodstype() {
       List<GoodsType> goodsTypes= typeMappers.goodstype();
       return goodsTypes;
    }

    @Override
    public List<Huo> huo() {
       List<Huo> huoList= typeMappers.huo();
       return  huoList;
    }
}
